<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>批改作业-主页3</title>
	<link rel="stylesheet" href="css/left.css">
	<link rel="stylesheet" href="css/descript_list.css">
</head>
<body>
<!-- 加载头部信息 -->
<?php
	include_once("header.php");
?>

<!-- 中间内容 -->
<div class="content clearfloat">
	<!-- 左边内容 -->
	<div class="left_content">
		<ul class="left_nav" id="left_ul">
			<li><a href="index.php" class="li_a">
				<span class="text">
					<?php echo "<img src='images/notice.png' alt='图片' class='left_img1'";?>&nbsp;
					<span>动&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态</span>
				</span>
				<canvas id="canvas_index1" width="18" height="48"></canvas>	
			</a></li>
			<li><a href="addcourse.php" class="li_a">
				<span class="text">
					<?php echo "<img src='images/course.png' alt='图片' class='left_img2'";?>
					<span>创建课程</span>
				</span>
				<canvas id="canvas_index2" width="18" height="48"></canvas>
			</a></li>
			<li><a href="mycourse.php" class="li_a">
				<span class="text">
					<?php echo "<img src='images/mycourse.png' alt='图片' class='left_img3'";?>
					<span>我的课程</span>
				</span>
				<canvas id="canvas_index3" width="18" height="48"></canvas>
			</a></li>
			<li class="active_nav"><a href="checkbook1.php" class="li_a">
				<span class="text">
					<?php echo "<img src='images/correct.png' alt='图片' class='left_img4'";?>
					<span>批改作业</span>
				</span>
				<canvas id="canvas_index4" width="18" height="48"></canvas>
			</a></li>
			<li><a href="per_setup.php" class="li_a">
				<span class="text">
					<?php echo "<img src='images/setup.png' alt='图片' class='left_img6'";?>
					<span>个人设置</span>
				</span>
				<canvas id="canvas_index6" width="18" height="48"></canvas>
			</a></li>
		</ul>
	</div>

	<!-- 右边内容 -->
	<div class="center_content">
		<ul id="nav" class="clearfloat">
			<li>
				<a href="descript_list.php" class="nav_a">按时提交35人</a>	
			</li>
			<li>
				<a href="descript_list2.php" class="nav_a">迟提交5人</a>	
			</li>
			<li class="">
				<a href="descript_list3.php" class="nav_a">未提交10人</a>
			</li>
		</ul>
		 
		<div class="content_nav">
			<ul class="nav" id="nav_ul">
				<li class="nav_li">
					<a href="" class="nav_a">
						<span class="text1">李斯思（提交作业时间2018/05/02 09:00）</span>
						<span class="text2">本应提交时间(2018/05/01 21:00)</span>
					</a>
					<a href="" class="add_img1">
						迟交
					</a>
				</li>
				<li class="nav_li">
					<a href="" class="nav_a">
						<span class="text1">李斯思（提交作业时间2018/05/02 09:00）</span>
						<span class="text2">本应提交时间(2018/05/01 21:00)</span>
					</a>
					<a href="" class="add_img1">
						迟交
					</a>
				</li>
				<li class="nav_li">
					<a href="" class="nav_a">
						<span class="text1">李斯思（提交作业时间2018/05/02 09:00）</span>
						<span class="text2">本应提交时间(2018/05/01 21:00)</span>
					</a>
					<a href="" class="add_img1">
						迟交
					</a>
				</li>
				<li class="nav_li">
					<a href="" class="nav_a">
						<span class="text1">李斯思（提交作业时间2018/05/02 09:00）</span>
						<span class="text2">本应提交时间(2018/05/01 21:00)</span>
					</a>
					<a href="" class="add_img1">
						迟交
					</a>
				</li>
				<li class="nav_li">
					<a href="" class="nav_a">
						<span class="text1">李斯思（提交作业时间2018/05/02 09:00）</span>
						<span class="text2">本应提交时间(2018/05/01 21:00)</span>
					</a>
					<a href="" class="add_img1">
						迟交
					</a>
				</li>
			</ul>
		</div>
	</div>

	<!-- 右侧栏 -->
	<?php
		include_once("right_content.php");
	?>
</div>

<!-- 加载左边导航的样式 -->
<?php
	include_once("nav_style.php");
?>

<script>
function a_style() {
	var ul = document.getElementById("nav");
	var li = ul.children;
	var len = li.length;

	for(var i = 0 ;i < len; i++) {
		(function (num) {
			li[num].onclick = function () {
				for(var j = 0; j < len; j++) {
					if(li[j].className == "active") {
						li[j].className = "";
					}
					li[num].className = "active";
				}
			}
		}(i))
	}
}

</script>

<?php
	echo "<script>a_style();</script>";
?>

<script>

</script>

<?php
	// echo "<script>tri_nav();</script>";
?>

<?php
include_once("pull_icon.php");
?>
<!-- 加载底部信息 -->
<?php
	include_once("footer.php");
?>
</body>
</html>